<?php

namespace YouBaoLian\Application\Info;

class SaleInfo extends Info
{
    /**
     * 中介销售人员姓名
     * @var string  $agencySaleName
     */
    private $agencySaleName = '';

    /**
     * 业务员执业资格证号/工号
     * @var string $saleAgentProfCertNo
     */
    private $saleAgentProfCertNo = '';

    /**
     * 中介销售人员执业资格证号码
     * @var string $agencySaleProfCertifNo
     */
    private $agencySaleProfCertifNo = '';

    /**
     * 双录上传平台销售人员身份证号码
     * @var string $doubleInputSaleCode
     */
    private $doubleInputSaleCode = '';

    /**
     * 双录上传平台销售人员姓名
     * @var string $doubleInputSaleName
     */
    private $doubleInputSaleName = '';

    /**
     * 是否4S店销售
     * @var boolean $sale4SFlag
     */
    private $sale4SFlag = false;

    /**
     * 新车销售公司所在地市代码
     * @var string $saleCompanyAreaCode
     */
    private $saleCompanyAreaCode = '';

    /**
     * 新车销售公司名称
     * @var string $saleCompanyName
     */
    private $saleCompanyName = '';


    public function getInfo(): array
    {
        return [
            'agencySaleName' => $this->agencySaleName,
            'saleAgentProfCertNo' => $this->saleAgentProfCertNo,
            'agencySaleProfCertifNo' => $this->agencySaleProfCertifNo,
            'doubleInputSaleCode' => $this->doubleInputSaleCode,
            'doubleInputSaleName' => $this->doubleInputSaleName,
            'sale4SFlag' => $this->sale4SFlag,
            'saleCompanyAreaCode' => $this->saleCompanyAreaCode,
            'saleCompanyName' => $this->saleCompanyName,
        ];
    }

    /**
     * 中介销售人员姓名
     * @param string $agencySaleName
     */
    public function setAgencySaleName(string $agencySaleName): void
    {
        $this->agencySaleName = $agencySaleName;
    }

    /**
     * 业务员执业资格证号/工号
     * @param string $saleAgentProfCertNo
     */
    public function setSaleAgentProfCertNo(string $saleAgentProfCertNo): void
    {
        $this->saleAgentProfCertNo = $saleAgentProfCertNo;
    }

    /**
     * 中介销售人员执业资格证号码
     * @param string $agencySaleProfCertifNo
     */
    public function setAgencySaleProfCertifNo(string $agencySaleProfCertifNo): void
    {
        $this->agencySaleProfCertifNo = $agencySaleProfCertifNo;
    }

    /**
     * 双录上传平台销售人员身份证号码
     * @param string $doubleInputSaleCode
     */
    public function setDoubleInputSaleCode(string $doubleInputSaleCode): void
    {
        $this->doubleInputSaleCode = $doubleInputSaleCode;
    }

    /**
     * 双录上传平台销售人员姓名
     * @param string $doubleInputSaleName
     */
    public function setDoubleInputSaleName(string $doubleInputSaleName): void
    {
        $this->doubleInputSaleName = $doubleInputSaleName;
    }

    /**
     * 是否4S店销售
     * @param bool $sale4SFlag
     */
    public function setSale4SFlag(bool $sale4SFlag): void
    {
        $this->sale4SFlag = $sale4SFlag;
    }

    /**
     * 新车销售公司所在地市代码
     * @param string $saleCompanyAreaCode
     */
    public function setSaleCompanyAreaCode(string $saleCompanyAreaCode): void
    {
        $this->saleCompanyAreaCode = $saleCompanyAreaCode;
    }

    /**
     * 新车销售公司名称
     * @param string $saleCompanyName
     */
    public function setSaleCompanyName(string $saleCompanyName): void
    {
        $this->saleCompanyName = $saleCompanyName;
    }

}